package com.ruoyi.system.service;

import com.ruoyi.common.core.domain.entity.system.SysBoatShipline;

import java.util.List;

/**
 * 船只与自动航线关联Service接口
 *
 * @author zjw
 * @date 2023-11-21
 */
public interface ISysBoatShiplineService {
    /**
     * 查询船只与自动航线关联
     *
     * @param boatId 船只与自动航线关联主键
     * @return 船只与自动航线关联
     */
    public SysBoatShipline selectSysBoatShiplineByBoatId(Long boatId);

    /**
     * 查询船只与自动航线关联列表
     *
     * @param sysBoatShipline 船只与自动航线关联
     * @return 船只与自动航线关联集合
     */
    public List<SysBoatShipline> selectSysBoatShiplineList(SysBoatShipline sysBoatShipline);

    /**
     * 新增船只与自动航线关联
     *
     * @param sysBoatShipline 船只与自动航线关联
     * @return 结果
     */
    public int insertSysBoatShipline(SysBoatShipline sysBoatShipline);

    /**
     * 修改船只与自动航线关联
     *
     * @param sysBoatShipline 船只与自动航线关联
     * @return 结果
     */
    public int updateSysBoatShipline(SysBoatShipline sysBoatShipline);

    /**
     * 批量删除船只与自动航线关联
     *
     * @param boatIds 需要删除的船只与自动航线关联主键集合
     * @return 结果
     */
    public int deleteSysBoatShiplineByBoatIds(Long[] boatIds);

    /**
     * 删除船只与自动航线关联信息
     *
     * @param boatId 船只与自动航线关联主键
     * @return 结果
     */
    public int deleteSysBoatShiplineByBoatId(Long boatId);
}
